package com.digitalart.nav
{
	import flash.display.Sprite;
	
	/**
	 * @author johan.chaves
	 */
	public class ItemSpacer extends Sprite {
		
		/**********************************Constructor*************************/
		
		public function ItemSpacer() {
			setBackground();
			setStripe();
		}
		
		
		/**********************************************************************/
		
		/**********************************Methods*************************/
		
		private function setBackground() : void {
			var background : Sprite = new Sprite();
			background.graphics.beginFill(0x000000);
			background.graphics.drawRect(0, 0, 50, 10);
			background.graphics.endFill();
			background.alpha = 0;
			this.addChild(background);
		}
		
		
		private function setStripe() : void {
			var stripe : Sprite = new Sprite();
			stripe.graphics.beginFill(0xF5D132);
			stripe.graphics.drawRect(25, 0, 1, 8);
			stripe.graphics.endFill();
			this.addChild(stripe);
		}       
	}
}